#!/usr/bin/python
# -*- coding:utf-8 -*-
# @FileName : python_test7_10.py
# Author    : myh

# 练习 7.10：梦想中的度假胜地　编写一个程序，调查用户梦想中的度
# 假胜地。使用类似于“If you could visit one place in the world, where
# would you go?”的提示，并编写一个打印调查结果的代码块。

places_table = {}
while True:
    name = input("what's your name?(anwser: no (stop))\n")
    if name.lower() == 'no' :
        break
    place = input('If you could visit one place in the world, where would you go?\n ')
    places_table[name] = place

print(places_table)